# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header $

inherit cvs gnome2

ECVS_USER="anonymous"
ECVS_SERVER="anoncvs.gnome.org:/cvs/gnome"
ECVS_MODULE="storage"
ECVS_LOCALNAME="storage"
S=${WORKDIR}/${ECVS_LOCALNAME}

DESCRIPTION="Displays relevant information via metadata related to a users current work in a side panel"
HOMEPAGE="http://www.gnome.org/~seth/storage/"
SRC_URI=""

LICENSE="Academic GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="debug"

RDEPEND="evo? ( >=dev-dotnet/evolution-sharp-0.3 )
		sqlite? ( dev-db/sqlite )
		>=app-misc/beagle-0.0.2
		>=dev-dotnet/gtk-sharp-1.0
		>=dev-lang/mono-1.0
		gnome-extra/at-spi
		( || ( sys-apps/dbus sys-apps/dbus-cvs ) )"

DEPEND="${RDEPEND}
	dev-util/pkgconfig"

DOCS="AUTHORS Changelog COPYING NEWS README"

src_compile(){
	cd pet
	cp ../libstorage/autogen.sh .
	sed -ie "s:libstorage:pet:" autogen.sh
	./autogen.sh --prefix=/usr
	gnome2_src_compile "--with-memory-allocator=generic"
}

src_install () {
	cd pet
	gnome2_src_install
}

